//
//  FPCustomRefreshHeader.m
//  FinanceProject
//
//  Created by 陈显摆 on 2025/2/7.
//

#import "FPCustomRefreshHeader.h"

@implementation FPCustomRefreshHeader

- (void)prepare {
    
    [super prepare];
    
    self.lastUpdatedTimeLabel.hidden = YES;
    self.stateLabel.hidden = YES;
    self.stateLabel.textColor = UIColor.whiteColor;
//    self.activityIndicatorColor = UIColor.whiteColor;
    self.loadingView.color = UIColor.whiteColor;
    
//    self.arrowView.hidden = YES;
    
}

- (void)setStatusLabColor:(UIColor *)statusLabColor {
    
    _statusLabColor = statusLabColor;
    
    self.stateLabel.textColor = statusLabColor;
//    self.activityIndicatorViewStyle = UIActivityIndicatorViewStyleGray;
//    self.activityIndicatorColor = UIColor.grayColor;
    self.loadingView.color = UIColor.grayColor;
}

- (void)setActivityColor:(UIColor *)color {
    
//    self.activityIndicatorColor = color;
    self.loadingView.color = color;
}

@end
